import fetch from 'utils/fetch';

//查询所有店铺
export function allShopAjax(allShopFormData) {
  return fetch({
	url:  '/api/merc/viceShop/queryViceShopAll',
  headers: {'Content-type': 'application/json;charset=UTF-8'},
  method: 'post',
  data:allShopFormData
  });
}


//查询单个店铺
export function singleShop(data) {
return fetch({
	url:  '/api/merc/viceShop/queryViceShop',
	headers: {'Content-type': 'application/json;charset=UTF-8'},
	method: 'post',
 	data:data
});
}

//店铺审核通过或不通过
export function ShopAudit(ShopAuditFormData) {
  return fetch({
	url:  '/api/merc/viceShop/updateShop',
  headers: {'Content-type': 'application/json;charset=UTF-8'},
  method: 'post',
  data:ShopAuditFormData
  });
}
